import java.io.*;

class Main {
	static char transform(char c) {
		if ('a' <= c && c <= 'z')
			return (char)('a' + (c - 'a' + 4) % 26);
		else if ('A' <= c && c <= 'Z')
			return (char)('A' + (c - 'A' + 4) % 26);
		else
			return c;
	}
	
	static String encrypt(String plaintext) {
		char t[] = plaintext.toCharArray();
		for (int i = 0; i < t.length; i++) {
			t[i] = transform(t[i]);
		}
		String ciphertext = new String(t);
		return ciphertext;
	}
	
	public static void main(String[] args) throws Exception {
		System.out.println("请输入一行英文文字：");
		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
		String s = in.readLine();
		System.out.println(encrypt(s));

	}
}
